﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Site.ascx.cs" Inherits="Hxsoft.AppV1.Admin.Controls.Site" %>
<script type="text/javascript" src="<%# ResolveUrl("~/J/List.js") %>"></script>
<div class="ListBoxItem">
	<table id="ToolBarBox" cellspacing="0" width="100%">
		<tr>
			<td class="LevelCompart" align="right">
				<input type="button" class="Button" value="全选" onclick="SelectAllInner(&quot;<%# List.ClientID %>&quot;, &quot;&quot;);" />
				<input type="button" class="Button" value="反选" onclick="SelectReverseInner(&quot;<%# List.ClientID %>&quot;, &quot;&quot;);" />
				<asp:Label ID="LbSelectGroup" runat="server">
				|
				<asp:Button ID="BtSelect" Text="选择" runat="server" OnClick="BtSelect_Click" />
				</asp:Label>
			</td>
		</tr>
		<tr>
			<td id="Foot" style="height: 22px">
				关键字:<asp:TextBox ID="TbKeyword" runat="server"></asp:TextBox>
				<asp:Button ID="BtSearch" runat="server" Text="搜索" OnClick="BtSearch_Click" />
				|
				<asp:Button ID="BtReload" runat="server" Text="刷新" OnClick="BtReload_Click" /></td>
		</tr>
	</table>
</div>
<div class="ListBoxItem">
	<asp:UpdatePanel ID="UpdatePanel1" runat="server">
		<ContentTemplate>
	<table id="ListBox" cellspacing="0" width="100%">
		<tbody>
			<tr>
				<td class="LevelCompart">
					<asp:DataList ID="List" runat="server" OnItemCreated="DataList_ItemCreated" OnItemDataBound="DataList_ItemDataBound" RepeatColumns="5" Width="100%">
						<ItemTemplate>
							<asp:HiddenField ID="Identifier_SiteID" Value='<%# Eval("SiteId") %>' runat="server" />
							<asp:Label ID="LbSelectBox" runat="server"></asp:Label>
							<%# Eval("SiteName") %>
						</ItemTemplate>
					</asp:DataList>
				</td>
			</tr>
			<tr>
				<td id="Td1" align="right">
					<hxctr:aspnetpager id="pager" runat="server" alwaysshow="True" OnPageChanging="Pager_PageChanging"
						custominfosectionwidth="" custominfotext="" pagesize="20" showcustominfosection="Left">
								</hxctr:aspnetpager>
				</td>
			</tr>
		</tbody>
	</table>
		</ContentTemplate>
		<Triggers>
			<asp:AsyncPostBackTrigger ControlID="BtReload" EventName="Click" />
			<asp:AsyncPostBackTrigger ControlID="BtSearch" EventName="Click" />
		</Triggers>
	</asp:UpdatePanel>
</div>
<div class="ListBoxItem"><div class="LevelCompart"></div></div>